Fix bugs with game actions.