Fix to allow the whole frame alignemnt to be a bit more forgiving of bad data.