Fixed bug in renderable-factory.