Added clear rect to transparent canvas renderer