Hey, that's actually part of the puzzle! You need to figure out how to stop the planks from floating away. Hint: the little island might be useful for that. ;)
But there's also another way to get across without building a bridge at all! There's even an achievement for doing it that way!