Made the screen resolution work