Fix crash on startup with some games (e.g. mario bros).