drawInContext not work well in iOS 14/14.0.1

I use function "drawInContext" to make UIView screenshot. it work well in iOS 13 and before.
In iOS 14/14.0.1, I can only get the UIView's content of phone screen size, by using drawInContext
drawInContext not work well in iOS 14/14.0.1
 
 
Q