Fix input text selection with mouse on draggable element