In some applications selected input text gets deselected on the first try

Problem:
Selected text gets deselected when selected first (either with mouse or with Ctrl+A).

Affected apps:
Xfce-terminal, leafpad, gnome-terminal, thunar (when selecting address bar text).

Not Affected apps:
kde konsole, yakuake, firefox.

OS Version: 13.2

others:

libgtk-2_0-0-2.24.28-4.14.1.x86_64
libgtk-2_0-0-2.24.28-4.14.1.x86_64

DE: Xfce