Fix coordinate normalization for negative coordinates