fix width/height flip ; refs #9