Clean up previous document preview styles