Make sure that empty height/width values are still set.