fix graphics settings bug