### Godot version

4.0.beta15

### System information

windows 10, nvidia graphics, opengl backend

### Issue description

When using a TileSetAtlasSource on a TileSet with dimensions greater than 799x799 and selecting the Tiles tab in the TileSet editor, all tabs in the right editor panel disappear.

This is likely a regression of https://github.com/godotengine/godot/issues/67942

### Steps to reproduce

see attached video:

https://user-images.githubusercontent.com/5783414/215139823-f78e94c5-5199-452e-b601-76ec0f680748.mp4


### Minimal reproduction project

[LikelyRegressionOf67942.zip](https://github.com/godotengine/godot/files/10520933/LikelyRegressionOf67942.zip)

Geometry3D::MeshData mdata = Geometry3D::build_convex_mesh(p_planes);
	mesh_add_surface_from_mesh_data(p_mesh, mdata);
}
RID RenderingServer::instance_create2(RID p_base, RID p_scenario) {
	RID instance = instance_create();
	instance_set_base(instance, p_base);
	instance_set_scenario(instance, p_scenario);
	return instance;
}
bool RenderingServer::is_render_loop_enabled() const {
	return render_loop_enabled;
}
void RenderingServer::set_render_loop_enabled(bool p_enabled) {
	render_loop_enabled = p_enabled;
}
RenderingServer::RenderingServer() {
	
	singleton = this;
}
void RenderingServer::init() {
	GLOBAL_DEF_RST("rendering/textures/vram_compression/import_bptc", false);
	GLOBAL_DEF_RST("rendering/textures/vram_compression/import_s3tc", true);
	GLOBAL_DEF_RST("rendering/textures/vram_compression/import_etc", false);
	GLOBAL_DEF_RST("rendering/textures/vram_compression/import_etc2", true);
	GLOBAL_DEF("rendering/textures/lossless_compression/force_png", false);
	GLOBAL_DEF(PropertyInfo(Variant::INT, "rendering/textures/webp_compression/compression_method", PROPERTY_HINT_RANGE, "0,6,1"), 2);