Makes Robotize() work properly again. Fixed #4834

this bug is really old
yeah, this is really what was causing this bug.