More fixes to setting screensize