Another thing to note is that it wasn't lagging in the game at all, but it was in the recording.
No, it is not a problem with my device as my touchscreen works normally outside of Minecraft.
Another thing to note is that it wasn't lagging in the game at all, but it was in the recording.