Fix mouse detection on startup

When starting my computer touchpad indicator would leave the touchpad in the state it was in when shutting down. This fix allows it to properly set the touchpad state on startup.