Fixed a problem with RaphaelJS.