Fix the expanding status in the display widget. Helps embedding for #7