fix KCMarkPanel bug