Fix automatic tick format precision.