fix bug with popup shadow