Auto-hide panel only works after a few tries

I prefer my bottom panel to auto-hide, I also tried “avoiding windows”. In both cases, I often (most of the times, but not always) have to move my cursor several times over the bottom of my screen before the panel shows up. I don’t use secondary monitors (as I found that could be a reason for this problem).
I had the same problem on 39, I hoped it would be fixed.

Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 13th Gen Intel® Core™ i5-1340P
Memory: 23.2 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Framework
Product Name: Laptop (13th Gen Intel Core)
System Version: A4