Avoid shadow disappearance