Fixes the parallax scrolling bug.