Fixed not supporting multiple resolutions

Oops!