Fix image width resizer bug