Fixed mass problem with RigidPhysicsShape.

Replaced PhysicsShapeEx in templates with RigidPhysicsShape