corrected SwapChainBackgroundPanel exception