Fix viewport size on High-DPI displays

Closes #199