Switched to use paste event.