v4 Resize: fixed width/height detection to bring it in line with css media queries
Merge pull request #3948 from schindld/v4-resize

v4 Resize: fixed width/height detection to bring it in line with css med...