You are talking about this guy?
That is not designed to align to the grid, it is a screenspace object that is placed relative to the viewport edges. As you move the view around the relation to the grid will change. It shows you the alignment of the coordinate system relative to your view.
If it is the main XY axes you are talking about (red and green in the image) then post a screenshot of what you are seeing.
