isOnGround: Fix shape judgment for shape-changing blocks.