Fix popup drag conflict