Thanks for that! I've looked into this and confirmed that scripts aren't recording canvas pattern changes, only grain changes when I do it here.
I'll add an item to our list to look into for the future.