Not Full Page screenshots

Hi I am using Katalon Studio Version: 5.4.2 Build: 1 with chrome version Version 66.0.3359.181 (Official Build) (64-bit) and Firefox of 58 and I have noticed that the sceenshots taken doesn’t cover the entire page both in headless and in normal mode. Can you please suggest about this ?

There are some workarounds contributed by other members.