modify info box coordinates
so that it does not mess up the hover function