At certain world heights, using inputpermission will cause the player to clip through the block below them.
In the testing that I have done using the command
/inputpermission set @s movement disabled
Whilst at world heights y = 255 || 256, will cause the player to clip through the block below them.
This bug does not occur at world heights 257 || 254.
I have attached a video example of the bug.
https://drive.google.com/file/d/1T-N7mr43TePE5a7RkawrgSSLOsM9Vogn/view
Confirmed in Android.