fix openInOverlay failing if event.memo is NaN (e.g. object)