Camera motion detection fix