fix issue where camera was not allowed to rotate