add support for grabbing a button based on coordinate