fixed a 'cast-to-int' missing conversion when lighting up the current slide page in the controls