Fixed preview overlay close bugs