Collision Detection Bug

I have a dynamic rigidbody on a wheel that has gravity and is held in position by a rod with a cap on it. The strange part is, when I apply torque to the wheel to make it spin, the rigidbody on the cap doesn’t hold the wheel back and the wheel flies off. I have a script on both the wheel and cap to active constant collision detection and all rigidbodies in the scene have appropriate collisions on them.
Project: PlayCanvas | HTML5 Game Engine

Solved this, removed linear factors fro the wheels rigidbody, and removed the x and y angular factors.