Nope. You literally want the barrel to "free float" inside the handguard.
This way the forces that you exert on the handguard - be it from resting it on a bag or loading it heavily with a bipod or if you're torquing-down on your sling - will be isolated from the barrel, which would otherwise, if tied-in to the handguard, also be affected by those forces.
Now, with that, you will need to realize that if you have a front sight -or any other aiming accessory, such as a laser- that is attached to the the free-floated handguard, when you exert force on the handguard, you will be shifting that sight ever so slightly out of alignment with the barrel.
Different quality handguards will flex more or less: for those looking for precision from their setup for lasers, for example, spending some extra money in this area will help.