Prevent overrunning the debug print overlay buffer
Divide by 65536 instead of 65535
Merge pull request #5711 from raven02/patch-33

Divide by 65536.f instead of 65535.f