Remove superfluous 'setWindowSize'.