Another attempt at fixing the client area bug when toggling resizable.