a few bug fixes
Merge branch 'NeonStar' of https://github.com/LitchiSzu/NeonEngine into NeonStar