fix state reseting when device loses
Merge branch 'dev' of https://github.com/away3d/away3d-core-fp11.git into dev