Problem creating custom component with canvas layers

Hi,
I am trying to create a custom component consisting of two canvas one over the other,
using absolute positioning. The problem occurs when the view is resized. Webix is calling the component’s $setSize(width, height) with a NaN height. Please see the
snippet: https://snippet.webix.com/2lay3cz9
Thanks.

Hi,
Looking at the “canvas.js” file in Webix sources,
I modified the previous snippet and it seems to be working now.
https://snippet.webix.com/82g3djai