Changed width vs height bug in getFrame