Fixing initialization bug due to runtime loaded assets