Modify AnnotationTool to work properly with OpenLayers 2.13.x