Fixed and simplified camera control script