Output:

SS

Note that this is only an issue with AVIF! With Webp everything is fine