Here we should use `arctan2` to be safe