Change card selection event from mouseClicked to mousePressed