TraceView: Properly handle the header resizing events