Fixes drop-shadow display if menu isn’t closed with animation.