JAL-1799 adjusted annotation height calculation