Issue #4277: fixed a Editbox's bug and a PhysicsSprite's bug in v3.0

Fixed a Editbox's bug and a PhysicsSprite's bug in v3.0