GUI card selection bug fix