Fix image scaling.

release 0.7.12