Add internal delay, menu close without animation when doing screen capture to prevent popup menu from being present in the capture result