Bugfix #0004

Smal Bugfixes after initialize crash on window and android!