Probably the limiting entity is a polyline, that's not possible.
You can explode the polyline to use it for for trimming.
Or is there an overlay image? Images prevents other entities from getting selected.
Put the image on a separate layer and make it invisible to test this.
investing less than half an hour into Search function can save hours or days of waiting for a solution