Fix popup positioning in the reveal widget