Fixed minor bug, window size was not modifiable due to unused variables.