Bug fixed: the deck needs to be cleared before shuffled