respect explicit width and height