fix renderbox issue