fix startup glitch with UI

On startup, checkSize() is called way too late after splash screen is
taken off. This result in a glitch UI for a fraction of a second.