Makes Robotize() work properly again. Fixed #4834
Merge pull request #4842 from Miauw62/thepasthauntsme

Makes Robotize() work properly again. Fixed #4834