fix Region.set_kind() for 2D