The floor is fastened to the flange. To make sure the toilet doesn't rock, dry fit it. If it does rock, use bolts that are tight enough to prevent rocking, but not strong enough to stop it. During the rough in, we would usually make a mistake.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.