Update AbstractImage.php

If $size is smallest then $imageSize always return original image as thumbnail!