Fixed document events - try to get camera rotation working