fixed the behaviour on Click+Drag