My Apple Pencil (1st gen) and iPad work great, except when the iPad is plugged in to charge. Then the pencil starts shooting out random lines and is unable to write or be used. I’m using it for school and having to take a 2 hour break to let the iPad charge every 4 hours is killing my productivity. Is there any way to fix this problem? I’ve tried unpairing and repairing and it does not help at all. I need to study or be in class about 8-12 hours a day so this problem is really impacting me.