There was someone on here a few months back that was doing this with a tablet (maybe a unix tablet) and wanted to overcome the same issue. I’ll see if i can dig that up.
here…
It looks like the software is inclined to (simulated) lift the (simulated) shift key when frame is selected. It looks like something that is dealt with in the keyboard software.