Fixing broken shadows for popup menus