Fix issue that could cause headers to "stick" instead of expanding/collapsing.