properly resize alert annotator on window resize. fixes #728