Fix previous viewport.