when you pull the mag out that BB you see is just one that was chambered into the hop up and this is normal.
As for the not shooting properly, what exactly was it doing?
try and turn your hop up all the way off then (with small adjustments) turn it up and fire it until its shooting nice and strait.
If the problem still happens then let us know what exactly its doing