> Sounds reasonable. 'unsafeInterleaveIO' defers computation of 'vp' > until it is actually needed. At this time the viewport might have > changed. That sound reasonable indeed, but the viewport does not change and the values I get are really random. I'll try to make minimal example to demonstrate the problem. Thanks, Peter