Make widgets display properly when only header left and right are used in the layout.#1510