I ended up fixing this issue by playing around with the privacy and security settings for the app. It seems like even though I gave accessibility permissions for the app while running the app locally, I had to delete the permissions and add them again for TestFlight even though the permission still appeared to be granted.