Fixed issue with export menu displaying outside the chart at the top of the button. Closes #1985.