Clean up mouse sensitivity code slightly