Made rendering pay attention to entity width and height