Rochdale were awarded a goal after the shot was struck from a distance and questioned whether it passed the line.