I had the same problem with Gboard and Swift. Completely turning off magnification in accessibility solved the problem.(just switching to full screen magnification did not help)
However I really like to be able to magnify the screen. Any ideas how to do this without accessibility magnification...