Fix asset loading crash in Chrome.