ResourceManager - Fixes crash when reloading UI after stylesheet api cleanup.