I think what’s happened is that you added the Allegro q=112 attached at the grace note instead of the main note. This accounts for (1) the crazy spacing, (2) if you delete the grace note, the tempo mark goes up to the end of the previous system, and (3) trying to nudge the tempo mark by the grid does not work.
The easiest way I found to fix this is to drag the tempo mark to the right with the mouse until it attaches to a later beat, and then move it back to the downbeat. Then it is positioned correctly over the meter, and the grace note spacing is also right.