CImageResizer bugfix