The main window (except decors) is all black without this (not even hover over toolbar buttons work)
The main window would not refresh at all. A call to this function or adjustSize() seems to fix this