Fix camera movement for debug objects

Also add a conversion utility for camera stuff in general, should clean
up the codebase a bit.