Fix segfault when starting the game.
Fix crash when using the hookshot.