Fixed debug camera. Still hacky, but a bit less hacky than before