Optimize out a call to getMotionState
Merge branch 'master' of https://github.com/playcanvas/engine