Fixing unblockPanel function when publishing a synthesis