Fixes viewportDimByPanels sizer