Do 'windowOpened(openFrame);' as well in the setOpenFrame
Thanks.