Changed the way images scale.