Fix attribute/slide lookup for non-master elements