RenderPreviewInWindow bug

RenderPreviewInWindow crashes Rhino if Flamingo is the render engine.