Fix for calculation of widget sizes when dealing with regions of MAX_INTEGER.
Added permissions to AnnotationParser to allow access to annotations.