Weapon attachments affect dispersion even if they shouldn't.
Optics decrease dispersion without having anything to do with the actual firing.
Most buttstocks and handguards decrease dispersion instead of having impact on things they should like sway, recoil and dexterity (some do affect dexterity).
Bipods have no effect on sway or recoil - but also reduce dispersion instead.