Otherwise we crash when no decoration is set (e.g. Plasma Mobile) (cherry picked from commit ff618e9f)