Screenshot resolution changes after I disconnect and reconnect from remote desktop (RDP)

I’m using FScreenshotRequest::RequestScreenshot in C++ to take screenshots in New Editor Window (PIE). The resolution stays consistent when I minimize RDP, but it would always resize itself when I disconnect and reconnect. Anyone know a way to lock the resolution in this scenario?