Fixed the crash with immovable rods
Merge pull request #4139 from Aranclanos/immovablerods

Fixed the crash with immovable rods