Fixes a bug in vehicle attachment saving