[Bug] sometimes "message handler" icon in a view with a message handler disappears

Sometimes the "mail" icon in a view where a message handler is defined disappears even though clicking in the root view and selecting the "configure scripts" -> "Message Handlers" reveals there are actually messages being handled.
Closing and reopening the view reveals the icon again.
This is quite confusing because the mail icon is the only hint to actually find messages defined inside views.

in the screenshot the same view before and after reopening it.

image

image