Fix piston duplication bug, thanks to fieldmaster