Fis issue of flashing tooltip when content is a widget

When the content is a widget, we use a ScheduledCommand to position and show the tooltip. During the time the command is executed, the tooltip can be displayed temporary in the wrong place.