Ugly hack to be able to restore transparent background on current window segment