Fix widths/heights given in percent