Fix topic edit preview bug