Bugfix/#736 selecting resource marks them as dirty

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