This is needed since 4d0f846b93 however change in the operator instead of the event handler is correct, as accepting a press event should suppress drag events unless the pass-through flag is set. This is how select & tweak already works.
4d0f846b93
EDITOR_VIEW3D