use the incident_angle band in the band maths instead a tie-point-grid so you have an exact value per pixel.
incident_angle