Fixing cross platform app height

Specs pass on OSX. Here are a couple of fixes for the sample app. Thanks!