I understand the type of bug you described; I’ll try to recreate it here.
And thank you for the suggestion about the window mechanic!