Remove redundant usesOverlayWindow() method
Whether an overlay window is used for compositing can be determined by checking the return value of overlayWindow().
Whether an overlay window is used for compositing can be determined by checking the return value of overlayWindow().