fix MovieClip.js bugs