Refactor #3985: Correction of bug
Refactor #3985: Make undefined check more compatible
Merge pull request #1552 from pandamicro/develop

Refactor #3985: Correction of bug