NPE fix for Desktop as well

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@25504 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
Ticket #3292: make EV appear for GeoGebra 2.6 files again (width/height was 0)

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@25507 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e