Take screen size from window size

Setup the UI for the actual screen (window) size, rather than the size we asked for. SDL might give us something different.

Fixes #2453.