Add entity getWidth and getHeight.