Fixed window resizing functionality for MonogameDX.

Fixed window resizing functionality for MonogameDX.