Fix block render to get context