Fixes NB#134642, crash when closing the headers window