Add a hack directive to work around Chrome svg rendering bugs.