Fix popup going off screen on N4