fix for issue #474

It seems that for some reason EditableDouble's get broken if you asign a value directly.
Before heading (being one) = new value worked fine, but it does cause the reported breakage for whatever reason now.
Simply changing it to heading.val = new value restored the behaviour to what it was before.