Sayid makes a simple Compass useing a cork and pin, Floating on the water.
Sayid Charges the Pin with a magnet,
But sayid puts his magnet down very close to the water, This would effect the working of his homemade compass by attracting the pin towards it.
When the camera cuts the magent and water bowl have moved