account for screen offset when finding button idx

fixes issue 506
http://openxcom.org/bugs/openxcom/issues/506