Fixed shadows not updating on resize