Fixed issue with chart cursor being overwritten on chart click. Closes #1650.