Fix #237.

Now images with target width 1px and height of 0px work even if thumbor
calculates the resize to be 1x0.