Fixing object width and height.