mouseJoint = (MouseJoint) comp.getUserData(comp.getID());
if (mouseJoint != null){
comp.setUserData(comp.getID(), null);
//Only destroy the joint if it isnt already (go through joint list and check)
for (Joint joint = world.getJointList(); joint != null; joint = joint.getNext()) {
JointType type = joint.getType();
switch (type) {
case MOUSE_JOINT:
MouseJoint mj = (MouseJoint)joint;
if (body.equals(mj.getBody1()) || body.equals(mj.getBody2())){
if (mj.equals(mouseJoint)) {