fixed bugs with screen resolution (hopefully)