Genlock related fixes