modified: fix error in EnterFrameManager.js