Fix bug with display settings