Avoid duplicated entries in mAttachedObjectsVector

This fixes Top Crasher signatures 2 and 50.
http://crash.singularityviewer.org/crashes.php?signature_id=2
http://crash.singularityviewer.org/crashes.php?signature_id=50
Merge branch 'master' into aimultigrid