Set legend drawing order if creating a new project