This can be done easily in our case, but in common case this will require complex logic to compute this area with substraction of rectangles and this problem isn't solvable in all cases. The only advantage is that DBE buffer automatically resize to match window's dimensions.