On Mouse Button Double Click Bug

Easy solution is to wrap your widget into Border (change Draw As: none). Border has built in double click event which you can utilize. However Border doesn’t have OnClick event so place a Button as a child to your Border.
End result should look like Border->Button->YourMainContainer.
This way you don’t need to override MouseDown events for entire widget and no need in any kind of delays and counters.