Removed unused isWithinCameraBounds method.