Android: Added mouse initialization to reset state. If the app is launched again then the shared object may be reused (on Android).