Added x and y getters on Element.