Fixed bug in the self-alignment example case.