fix rendering of shadow of menu