fix moving sprite issues
Merge branch 'master' into movingfix
Merge pull request #2105 from edisonout/movingfix

Fix moving sprite issues