Fixing camera offset glitch