Fixed a bug where rendering frostwing would crash the game