Calculate user annotation box size correctly