Fix issue with resize handle and window (un)maximization.