Fixed Window Resizing

Resolves issue #26