Viewport changed, controls optimized