Fixed bugs on preloaded and assetsManager