Small preview window in taskbar does not hide when using drawing tablet

As per title; when using a drawing tablet, the small preview window does not hide even when moving the cursor away. No problems when using a mouse. Weirdly enough, moving the cursor onto the desktop/application in focus (vertically) causes this issue, but moving the cursor onto the empty space in the taskbar (horizontally) yields the correct behavior.

Using an XP-PEN Deco Mini7W with OpenTabletDriver v0.6.6.2.

Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3060 Ti
Product Name: AB350M Pro4