fix pointer event