First step towards fixing viewport.