Update movable-rectangle.js

fix bug