Make Camera.transform work in 2D. Clean up more of DynamicObjectView by removing 2D specific code.