Fix waiting for glass.