Major fixes to view and viewPort.