Fixes #29: resize too wide images.