Fixed projection bug on line of lenght zero.