[fix bug 921243] Reset the image size after image clean.
Merge pull request #651 from glogiotatidis/921243

[fix bug 921243] Reset the image size after image clean.