Fixed bug using parallax