Refactored drag marker events