Bug fix for sprite frames not being purged properly. Thanks @lordnedox