Fixed crash when trying to play a card at the wrong time