With the extension disabled, there are no problems on both kernels (5.15.0-27-generic and 5.17.5-051705-generic) in the case of the wayland session.
After enabling and updating (I'm not sure if the extension has been updated, but I tried updating it on the page extensions.gnome.org) the extension, the problem disappeared also on the 5.15.0-27-generic kernel.
With the extension disabled, there are no problems on both kernels (5.15.0-27-generic and 5.17.5- 051705- generic) in the case of the wayland session.
After enabling and updating (I'm not sure if the extension has been updated, but I tried updating it on the page extensions. gnome.org) the extension, the problem disappeared also on the 5.15.0-27-generic kernel.