fixed contructor width/height bugs