Fixed comparing points