Fix small bug in move_attacks_square()