AssetAtlas: Fix NPE when there are no preloaded resources