Its not "random", its a risk but a 200IQ one. With the L block smokes electronic would expect him to come from the garage side. He was positioned so that he couldnt watch both at the same time, just a lucky timing that he was on the other angle. Also you dont need to "really" push through a smoke there, you're gray for like 0,2 sec when you turn to the side of the blue container.
Well played and out played by Aleksib.