Makes Robotize() work properly again. Fixed #4834

this bug is really old