Yes, this is due to a divide by zero, caused by too high a FPS rate (thus the influence of the altitude), when the slider is moved and causes multiple updates of the sky geometry in a a split second.
Bug fixed for next release. In the mean time, just be gentle with that slider...