Fixed a bug in the blanking code.