canvas offset value changed