Fix block access after resize