Fix calculating Index values labels positions