Adjusted legend closes #908.