fix problem with right-click starting drag mode