fix grid drawing once erased