Sheffield United dominated a tight match at Bramall Lane in which their former England striker James Beattie hit the post with a free kick in first-half stoppage time.