Fixed issue with markers on inverted charts. Closes #2450