Viewport fix