Doncaster Rovers scored a controversial goal that potentially could have been disallowed for offside against Crewe Alexandra in League Two.