Switch to innerHeight and innerWidth when building layout
Switch to innerHeight and innerWidth when building layout

Fixes: #310

bingenito/desktopJS,bingenito/desktopJS,Morgan-Stanley/desktopJS,Morgan-Stanley/desktopJS,bingenito/desktopJS,Morgan-Stanley/desktopJS