Fixed the off-by-1 when switching to Gallop Mode bug