Small bugfix.
Use automatically detected resolution.