Window jumps around when moving

The official “Window with a Component inside” sample from https://docs.webix.com/desktop__setting_headers.html has a problem: if you drag the window fast enough, or if the mouse cursor moves away from its header, the window will be left behind the cursor.

I’m using Chrome 68.

This issue occurs only if the Webix window is the only content of the page, i.e. body of the document has the 0px height and there is no content for tracking mouse events.

Considering the mentioned implementation, the fix will look as follows:

<style>
  html, body { height:100% }
</style>