Updated to support rotation shadow redrawing