Fix notebook expanding in the properties window