Screen resizing bugfix

Fixed a bug where the screen did not resize properly.
Also fixed a bug where the interface did not reset properly upon a scene
change.