Issue #1982024 by Cottser, Fabianx: Lazy-load Attribute objects later in the rendering process only if needed.