Workaround for touchpad race condition