Generating animation

I have a problem with generating animation's images. When I try to save
images from display by captureDisplay method it, some times, results with
withe box only (or "please wait ..."). Is there any method to check when the
display is fully rendered?
Greetins,
Slawek