Bug extension for svg.js