paintImage() method now synchronized because currently it's not
re-entrant, causing crashes when attempting to render a given SVG image
from different threads.