### Godot version

4.0 rc6

### System information

win 11

### Issue description

UV tab

![image](https://user-images.githubusercontent.com/69117768/221976102-1b61dc27-d104-447c-9baf-bfe82c1e1790.png)

other tabs

![image](https://user-images.githubusercontent.com/69117768/221976126-09e32e2c-f63d-4728-ac56-e50d65b3ef1e.png)


### Steps to reproduce

make a polygon from a sprite

### Minimal reproduction project

n/A
Vector2 uv_drag_from;
	bool updating_uv_scroll;
	AcceptDialog *error = nullptr;
	Button *button_uv = nullptr;
	bool use_snap;
	bool snap_show_grid;
	Vector2 snap_offset;
	Vector2 snap_step;
	virtual void _menu_option(int p_option) override;
	void _cancel_editing();
	void _update_polygon_editing_state();
	void _uv_scroll_changed(real_t);
	void _uv_input(const Ref<InputEvent> &p_input);
	void _uv_draw();
	void _uv_mode(int p_mode);
	void _set_use_snap(bool p_use);
	void _set_show_grid(bool p_show);
	void _set_snap_off_x(real_t p_val);
	void _set_snap_off_y(real_t p_val);
	void _set_snap_step_x(real_t p_val);
	void _set_snap_step_y(real_t p_val);
	void _uv_edit_mode_select(int p_mode);
	void _uv_edit_popup_hide();
	void _bone_paint_selected(int p_index);
	int _get_polygon_count() const override;
protected:
	virtual Node2D *_get_node() const override;
	virtual void _set_node(Node *p_polygon) override;
	virtual Vector2 _get_offset(int p_idx) const override;
	virtual bool _has_uv() const override { return true; };