Fix fullscreen position and resizing when Esc button pressed

The position of the upper left corner of the fullscreen mode was dependent of the window mode position.

When pressing the ESC button while in fullscreen mode it did not resize the the window proportions.