Changed resolution detection to prevent listing none-working resolutions