Fix Y coordinate in intersect.c