bugfix in addFillingCanvas when called with a string