Fix canvas save button bug