Drag and Drop from Native Wayland to XWayland Apps is Buggy and Inconsistent

When i try to drag and drop a file from nautilus (Wayland) to VS Code (XWayland), I have to drag the file a few times for it to detect the file. the same thing also happens when i drag and drop a file from nautilus to WhatsApp Web on Chrome (XWayland too). and the problem doesn’t happen on gnome xorg session, it only happens on Wayland session.

Tested on Fedora Workstation 39.
dnd-ezgif.com-video-to-gif-converter