applying fixes due to updating monogame to 3.2.2