Real fix for python crash during game.