Adjusting pixel position of flags to account for pixel offset of first row