Fix preview minimization