fixed bug where height is mismeasured after returning to wide screen from narrow screen