Fixed stupid crash with object aligning.