Fix for svg scale to correctly handle x,y coordinate inputs