Fixes clicking when mousedown element != mouseup element