Fixed restoring tab fragments after portrait/landscape switch.