Better handling inverted axis.