Outdated software can indeed lead to glitches. Keep both iPad and Pencil updated.