Remove static variable from image resizer