[widgets] Mouse double click hack for Qt5 due to a bug