fix camera rotation problem