Pushing everything backwards so that the closer element (or at least the closer one that touches the edges of the image) is at the screen depth works most of the time. You can choose where to place the screen, so it is better to avoid that the so called window (often formed by the screen itself) hides elements that are supposed to be in front of it. It's not what we usually see in real life and the brain does not like the created dissonance. My viewer allows to change screen position and your photos are far more pleasant to watch when everything is pushed backwards. Relative depth remains the same, although extreme left and extreme right are cut a little.
Thank you. I will check on those violations. I have not much choice as main focus is to get something closer together with something distant in a window.