Correctly call engine's paste method (fixes #273)