Fixed window resizing functionality for MonogameDX.