When I run the emulator the screen size is smaller than the device frame as in the image below. It only happens in a computer with a screen resolution of 3840 x 2160
I was able to fix this problem by on a Surface Pro by going to the display settings (right-click on desktop and select Display Settings) and changing the scale from 150% to 100%.
Scale setting:
This setting made all windows and text to small for me to see without a magnifying glass, so I changed it back to 150% and the problem did not reappear.