This happens because I allocate the color when the player joins the lobby. This does not make sense because at this stage the player does not need a color.
Refactor the code to make it so that color is assigned to players when the game starts. Also initialise the deck and have the players draw their cards when the game starts and not before.