Fixed game crash.