remove redundant viewport