[bugfix] prevent actions when window focus on inputs