Added visibility test for parallax layers