Fixing viewport.