Fixed a bug: When re-rendering axis, the appropriate number of ticks were not re-computed.