Update image.class.js

Made lastScaleX/Y private