Fix block rendering