Fixing viewport selector