fix canvas position when canvas position changed.