Fix global access in Element.