Core/Scripts: Fix crash on enter to BWD, thanks goes to Deep