implement shadow for dropdown menu for managed render mode