fix setting resolution as screen size