fix pointer event propogation bug