First let me make sure that I understand your problem. I believe you are saying that the fence can be moved along the rails (left/right) even when the two levers on the front of the fence are in the down position.
If that be the case, the four screws on the top have absolutely nothing to do with your problem. By loosening them, you may have introduced still another issue to be resolved later (but before you rip any boards). Those four screws when loose, allow the rip fence to move so as to not be parallel to the blade.
The nut on the back and the one under the fence on the front are associated with the rip fence lock.
The lower lever is to be used to lock the fence to the front rail and in normal operation should be locked first. This lever, when secured, moves the fence to the position to which it has been aligned (parallel to the miter slots). The adjustment for that lever is on the under side of the fence.
The upper lever is to be used to lock down the rear end of the rip fence to the rear rail. It should be locked only after the the front lock has been secured. When this lever is locked, the fence should not move. The nut on the front end of the fence is used to adjust this lock.
The adjustments are made by feeling the pressure required to move the levers into the locked position. It is a trial an error adjustment.
