The important thing is to pass the variable 'with_cursor' in mss()
from mss import mss
sct = mss(with_cursor=True)
bounding_box = {'top': 0, 'left': 1366, 'width': 1366, 'height': 768}
im_brg = sct.grab(bounding_box)
with_cursor Include the mouse cursor in screenshots.
New in version 8.0.0.