Fixed yet another bug. Should make the camera less laggy