Don't hard-code screen resolution.