CardView: fix to actually destroy the cardWindow