Fix dirty blinking of the definition UI