Wait for animation frame before displaying stuff
Merge pull request #2613 from yurydelendik/wait-animation

Wait for animation frame before displaying stuff