Update CanvasFrameWriter.java