Fix bug upon inventory opening when removing turtle