Hotfix for #1078 and #1038

It's not a good fix (it's bad fix), I don't know how this affects hacked clients break distance blocking.
I tried it, merge if you want.