account for screen offset when finding button idx
Merge pull request #808 from myk002/fix_psi_button_calculation

account for screen offset when finding button idx