This happens when the resizer is moved to max right (for example) and then the orientation is changed.