The problem (if I understood correctly) is illustrated by this image: Painter's problem
This is from the Wikipedia article on the Painter's algorithm, which is the type of algorithm Construct uses for rendering.
One solution in this case could be to cut the green rectangle in half (making it two objects), so the right part can be layered under the red rectangle, an the left part layered over the blue rectangle.