Fixing input coordinates discrepancy

Their was a input coordinate discrepancy for dialogs when we use the wm
caption in the shell.
Test: tested manually on multiple builds
Bug: 244190356
Bug: 243950192

Change-Id: I84cf95a933e90062f20978e4e1f83276c100c326
1 file changed