optimized set and clear rally highlights into input handlers