Refactor __onMouseDown