Custom loading render function.