fixing camera bugs