Fix a bug

When change the scale, drawing position was wrong.