Pevent bad settings for Focus

It could result in a crash