Thumbs ending up in the project root

For some reason i am ending up with thumbnails being generated into the root of the site, alonside index.php. I also get them in the media folder.

The ones in the site root have a double extension like kontos-home-1920x1200.avif.avif

Any ideas why this is happening?

Using PHP 8 and Kirby 3.6.2

Any ideas why this is happening

Nope, but I have seen this:

Intresting… thanks, ill add to the git ticket.