Do not call SetBufferDamagedRects if the damaged rect is empty