Fix for negtive scale in the X for an attachment working.