fix for clip() not working in Chrome/Chromium browsers
changes addIcon() and roundedImage() and adds an off-screen canvas