modified drawObjectofInterest in order to center the text