Camera adapts to different resolutions