Fixes w/h confusion when single dimension is given on command line