Windows and doors randomly going on adventures

I do not know if it happens with other versions as well.
When I place objects, sometimes it happens that one is not placed.
The spirit is there but the object is never set because it does not exist.
I have a chair I can place it out of the objects but I can not sell the chair and it is not in stock.
Only the spirit is there
and can be broken off then it is there again as a placeable object but is never placed because it does not exist.