fix issue where card stats disappeared when window minimized