Window doesn't resize after update

@dowmeister Isn’t it a duplicate of this bug that you opened?