Fix auto scale domain for ordinal scale.

Close #1428.

Fix can be seen [here](http://jsfiddle.net/nLmn5ex1/9/)