Ensure we have all resources loaded before displaying the xblock