Fixed the "Pistons do not retract" bug