Fixed touchpad bug