Fixed line and frame sync error.