Add collision detection on paste creation