Fixed assertion during dirt block OnUpdate()

And VS13 compile