Properly returns resolution as the screen size