Impact of optical distortions on the visual perception of space and depth