enable dragging on rectangle