bug fix: 1, shadow not show well in device. 2, mistake 'onEnd' with 'onBegin' in c3dRoot.cpp