fix mouse handling regression in Path