Fix PiP problem when closing PiP