fixed a width/height mixup in the resizer