[BUGFIX] Delegate crashes with Triangle shapes. Text alignment was wrong, too.