A controversial moment arose in the second half at Tynecastle