Turned out that the height of the Main frame was to small on Windows.