This fixes several RWD bugs in resizing