Fixed compile bug in fixed joints