We wait for the canvas before trying to serialize the annotation in order to make sure the image has been loaded.
getRect
waitForEvent