If the window defined in src/mainwindow.ui exceeds the size of the
display, the program behaves weirdly. Growing the window size even further
leads to crashes. Reducing the window size to 1x1px seems to work fine
and should be smaller than any display size.
In case the screen resulution did not match the size set in
mainwindow.ui, you may only see part of the image shown. Putting the
window in full screen explicitly fixes that issue.