cacheAsBitmap setted for component when there is some drawing. The zorder on window is now working. Needed to fix the enable disable state of windows