closed #3509: PhysicsBody moves randomly when switch foreground/background.
Merge pull request #5915 from boyu0/iss3509_physicsbody_moves_randomly_when_switch_foreground_background

closed #3509: PhysicsBody moves randomly when switch foreground/background