Fixed bugs in the Pneumatic gun