Try altenate method of clearing stack
Merge branch 'master' of https://github.com/HaxeFoundation/hxcpp