Bugfix/#903 cat and masks not saved

Fixes https://github.com/spritebuilder/SpriteBuilder/issues/903.