fix paste event
Merge branch '2.x' into 2.6