fixed camera bugs