Fixes to use raycasting with blocks to prevent weird physics.