Issue #4755: Improve PhysicsSprite adding logic