Hammers held by gritty Royals