Fixed touchpad script