My Unattended robot fails to type in the web automation page during teams sharing


I have made a web automation in which there is a type into activity ,which is completely working fine even in the screen locked condition

But while sharing the same via screen sharing during a demo it missed to type in the web page when running from studio pro, but i tried the same activity again from the cloud it works fine it type in the web page even while sharing

i am not sure why the glitch has happened, is it a bug?

NOTE:I am using simulate click and send windows message in all the activity,which support to run it in background,so i hope there is no issue in the program