Avoid recreating line dash atlas on every mode switch