Attachnode orientation fix

Alewx, describe please, if you still remember that it is fixes :)