Bug: when providing a negative value for the ticks distance, the browser crashes