Autosave modified collections in resource properties
All other shapes except collision are automatically saved with the scene because they're stored as objects. There could be multiple collision shapes so they're stored in an array and this is not handled properly. Fixes #33758.