fixed multiple buttons dragging bug