Grace note spacing (with accidentals)

Can you please attach the project itself? Unfortunately it’s not really possible to diagnose these kinds of things from pictures. I refer you to this sticky post:

You should be able to cut down the project to just a few bars and attach that.