Fix #2141(header): no click handler if no sort or column menu