Fixed an array out of bounds exception at start of game