Added code to apply mouse poling rate