Small bugfix in triangulation

Change-Id: I910685166fe31e2b1dcb5a94f9e033044543173d