Moved enabling of shadows to a XML resource attribute so they can no longer be toggled after initialization