fix for possible NRE during b2Joint construction.
Merge pull request #14 from totallyeviljake/master

fix for possible NRE during b2Joint construction.