Using layers cleans up drawing and camera code.