Fix window shape on maximize.