Fixes curve coordinate.