Bugfix relating to defaultViewport.