Fixed bug where browser window was positioned wrongly; fixes #263