Fix table element order drawing following the spec