Nices focus and :invalid states