Fix Raphael changes