Fix hide preview command