fixed camera rotation bug