Fixed preview glitch