Make the camera position functions work on vector-2 and vector-3 objects