fix viewports