That is quite strange; are you sure you had the servos set up properly in the
Motors and Sensors Setup dialog?
This may,
may have something to do with the following line,
Which in the sample is simply,
Play around with it a bit and see.
There should be no real problem in doing it as in the former, though I would not necessarily do it that way, but I don't know, this whole system is hinky.