Groovy devel fix joint axis

This patch is the same as #55, this is patch for groovy-devel.