qt-ui: fix crash when load from snapshot due to 0 height

This is caused by a typo, fixed

Bug: 297878534

Change-Id: I9c927f8b9a49533ed20187b8cd58e1acf7f05bd3
1 file changed