More robust interaction of flex with inline containers.