Moving the UI constructor to LoadContent seems to fix the rendering bugs