Fix projection with 0 slope