Added correct processing for focus in panorama.