fix laggy camera and panorama