Hopefully fixed the texture not loading bug