Fixed issue with wrong min and max in selection events on categorized axis. Closes #1207.
Merge remote-tracking branch 'origin/master'