Fix the image copy problem with basic paste.