Disconnect frame renders when ThumbnailItem has no window
It is valid to have a case where an item exists but has no window, due to QtQuick's object lifespan management. During these times the item will never be rendered.
Rather than guard in updateOffscreenTexture, it's more economical to disable the frame rendering in the first place. Especially as then it's easy to extend to item visibility.