ColorPicker as part of form appears behind window

The topic sounds a bit confusing, for which I apologise.

My page setup:

I have a popup dhtmlxwindow which contains a form.
One of those form fields is a colorpicker.

However, when I click on the colorpicker, it appears behind the window.

Is there any way to change the zIndex of the colorpicker?

Hi

open dhtmlxform_item_colorpicker.js, line ~31
this.cz[item._idd].style.zIndex = 249;