panel: Temp fixes for shadow breakage