Fixed beam parent issue

ResetOffset function now takes into account the parent and root
transforms for converting local scale to world scale.