Wait for animation frame before displaying stuff