Fix bug in GameManager