move preview clear to correct thread