Fixes #4589

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
Merge pull request #4590 from Mloc/bs12-magicalwindoors

Fixes #4589