Fix viewport.