It wasn't part of the script, but a mistake made by actor Owen Cooper made the final cut