Added hit testing support. See getElementAtPosition()