[DF-4721] fix virtual screen size calculation