Alpha: Fix bug in issue 12 implementation

- added init call to onWindowResize