This is a known bug. It's always been broken for Protean, which has the same effect. Researchers are compiling the order for these and other effects so that they can be correctly implemented, but this is still work in progress for now.I believe that you guys have Cinderace's Hidden Ability coded incorrectly.
Also I haven't tested this on any other move, so I don't know if this is just with sucker punch or not